package org.mx.test;

import org.mx.dal.config.DalHibernateConfig;
import org.mx.service.SpringBootUtils;
import org.mx.service.server.config.ServerConfig;
import org.mx.spring.config.SpringCacheConfig;
import org.mx.spring.config.SpringConfig;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;

@SuppressWarnings("javadoc")
@PropertySource({
        "classpath:test.properties"
})
@Import({
        SpringConfig.class,
        SpringCacheConfig.class,
        ServerConfig.class,
        DalHibernateConfig.class
})
@ComponentScan({
        "org.mx.test.service",
        "org.mx.test.graphql"
})
public class RbacApplication {
    public static void main(String[] args) {
        SpringBootUtils utils = new SpringBootUtils();
        utils.startApplication(RbacApplication.class, args);
    }
}
